package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 漂流瓶对象 bottle
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class Bottle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 漂流瓶ID，主键，自增 */
    private Long id;

    /** 投递者ID，关联user表 */
    @Excel(name = "投递者ID，关联user表")
    private Long userId;

    /** 漂流瓶内容 */
    @Excel(name = "漂流瓶内容")
    private String content;

    /** 漂流瓶类型：0❤️感谢瓶，1?倾诉瓶，2?祝福瓶，3?奇思妙想瓶 */
    @Excel(name = "漂流瓶类型：0❤️感谢瓶，1?倾诉瓶，2?祝福瓶，3?奇思妙想瓶")
    private Long type;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Long likeCount;

    /** 漂流瓶状态：0漂流中，1被捞起，2删除 */
    @Excel(name = "漂流瓶状态：0漂流中，1被捞起，2删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setLikeCount(Long likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount() 
    {
        return likeCount;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("type", getType())
            .append("likeCount", getLikeCount())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
